package com.example.citypolitics.controller;

import com.example.citypolitics.Service.formService;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class formController {
    @Autowired
    formService formService;
    @RequestMapping("formSaveFormData")
    @ApiOperation("发起一个调查流程")
    public String formSaveFormData(){
        return formService.formSaveFormData();
    }

    @RequestMapping("test")
    @ApiOperation("发起一个调查流程")
    public String test(){
        return "test";
    }
}
